package com.example.flowabledemo;


import org.flowable.engine.ProcessEngine;
import org.flowable.engine.ProcessEngineConfiguration;
import org.flowable.engine.impl.cfg.StandaloneProcessEngineConfiguration;


/**
 * @ClassName Demo
 * @Description TODO
 * @Author zhangrenhao
 * @Date 2024/8/1 上午9:55
 */

public class Demo {

    public static void main(String[] args) {
        ProcessEngineConfiguration cfg = new StandaloneProcessEngineConfiguration()
                .setJdbcUrl("jdbc:mysql://localhost:3306/demo?useSSL=false&serverTimezone=UTC")
                .setJdbcUsername("zhangrenhao")
                .setJdbcPassword("qq5613500.")
                .setJdbcDriver("com.mysql.cj.jdbc.Driver")
                .setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE);
        ProcessEngine processEngine = cfg.buildProcessEngine();

    }


}
